# 一个阻塞方法,获取控制台上输入信息
# str1 = input('请输入一段str文字:')
# print(str1)
# print(type(str1))

# num1 = input('请输入int:')
# b = int(num1)

# _________________________

# a = 10
# b = 20

a, b = 10, 20

print(a)
print(b)

str1 = '1234567890'
print(str1[2:6])
print(str1[:])
print(str1[0:10])
print(str1[::2])
print(str1[::-1])
print(str1[::-2])
print(str1[:7:3])
print(str1[4::3])





# print(str1[1:8:3])
# print(str1[:8:3])
# print(str1[:])
# print(str1[::-1])
# print(str1[::-1])
# print(str1[::-1])

# a = 257
# b = 257
# print(id(a))
# print(id(b))
# print(a is b)


# print('sss')
# def print2(str1):
#     print(str1,end='*')
#
# print2('sss')

# a = '44'.isdigit()
# b = '44f'.isdigit()
# print(a)
# print(b)
